#colorPickerPanel{
    position: absolute;
    display: none;
    /* height: 200px; */
    width: 286px;
    padding: 10px;
    background: #000000;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

#quickColorsContainer {
    display: flex;
    flex-wrap: wrap;
}

#colorPickerPanel .quickColorNode{
    height: 20px;
    width: 20px;
    margin: 1px;
    cursor: pointer;
}

#colorPickerPanel #pickerContainer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
    /* height: 150px; */
}

#colorPickerPanel #mainColor{
    height: 150px;
    width: 100%;
    margin-right: 10px;
    /* background: linear-gradient(to bottom,transparent 0%,#000 100%); */
    background: linear-gradient(to left, hsla(0, 100%, 50%, 1), rgba(255, 255, 255, 1));
    position: relative;
}

#colorPickerPanel .bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#colorPickerPanel .bg1{
    background: linear-gradient(to right, white, #ffffff00)
}

#colorPickerPanel .bg2{
    background: linear-gradient(to top, black, #ffffff00)
}

#colorPickerPanel #selector{
    position: absolute;
    top: -4px;
    left: -4px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: none; 
    border: 2px solid white;
    pointer-events: none;
}

#colorPickerPanel #selector::after{
    content: '　';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: none;
    border: 2px solid #3F3844;
}

#colorPickerPanel .barOuter{
    display: flex;
}

#colorPickerPanel .barContainer{
    flex: 1;
}

#colorPickerPanel .bar{
    height: 20px;
    border-radius: 4px;
    position: relative;
    margin-top: 5px;
}

#colorPickerPanel .slider{
    position: absolute;
    top: -2px;
    left: -3px;
    height: 100%;
    width: 2px;
    background: none;
    pointer-events: none;
    border: 2px solid white;
    border-radius: 2px;
}

#colorPickerPanel #colorBar{
    background: linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%);
}


#colorPickerPanel #colorSlider{
    
}

#colorPickerPanel .resultPreview{
    position: relative;
    width: 50px;
    height: 45px;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255,1) 100%);
    margin: 5px 0 0 10px;
}

#colorPickerPanel #resultPreview{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

#colorPickerPanel #alphaBar{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255,1) 100%);
}

#colorPickerPanel .alphaUnderColor{
    position: relative;
    background-image: radial-gradient(circle at 2px 2px,rgba(217,217,217,.2),rgba(217,217,217,.2) 2px,transparent 0),radial-gradient(circle at 8px 8px,rgba(217,217,217,.2),rgba(217,217,217,.2) 2px,transparent 0);
    background-size: 14px 14px;
    background-position: 0px 2px, 0px 3px;
}

#colorPickerPanel .operate{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
#colorPickerPanel input{
    border: none;
    outline: none;
    height: 30px;
    padding: 0 4px;
    width: 100%;
}

#colorPickerPanel select{
    border: none;
    outline: none;
    background: none;
    color: white;
    height: 26px;
}

#colorPickerPanel option{
    /* border: none;
    outline: none;
    background: none;
    color: white; */
    color: black;
}

#colorPickerPanel .resultContainer{
    display: flex;
}

#colorPickerPanel #hexContainer,
#colorPickerPanel #rgbContainer{
    flex: 1;
}

#colorPickerPanel #rgbContainer{
    display: flex;
}
#colorPickerPanel #rgbContainer input{
    margin-left: 10px;
}

#colorPickerPanel #opacityInput{
    margin-left: 16px;
    width: 50px;
}

#colorPickerPanel button{
    height: 30px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    user-select: none;
}

#colorPickerPanel #clearBtn{
    height: 30px;
    background: none;
    border: none;
    color: #A9A7A9;
}

#colorPickerPanel #confirmBtn{
    height: 30px;
    border: none;
    background-color: #A9A7A9;
    border-radius: 4px;
    color: #3C3C3C;
}
